<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<!-- 
###############################################################################
#
# File:         INDEX.html
# RCS:          $Header: $
# Description:  WINTERP examples/lib-utils/* description
# Author:       Niels P. Mayer
# Created:      1994
# Modified:     Mon Nov 24 17:36:02 1997 (Niels Mayer) npm@indeed.netcom.com
# Language:     HTML
# Package:      N/A
# Status:       Experimental (Do Not Distribute)
#
# Copyright (C) 1994-1996, Enterprise Integration Technologies Corp. and Niels Mayer.
# WINTERP 1.15-1.99, Copyright (c) 1993, Niels P. Mayer.
# WINTERP 1.0-1.14, Copyright (c) 1989-1992 Hewlett-Packard Co. and Niels Mayer.
# 
# Permission to use, copy, modify, distribute, and sell this software and its
# documentation for any purpose is hereby granted without fee, provided that
# the above copyright notice appear in all copies and that both that
# copyright notice and this permission notice appear in supporting
# documentation, and that the name of Enterprise Integration Technologies,
# Hewlett-Packard Company, or Niels Mayer not be used in advertising or
# publicity pertaining to distribution of the software without specific,
# written prior permission. Enterprise Integration Technologies, Hewlett-Packard
# Company, and Niels Mayer makes no representations about the suitability of
# this software for any purpose.  It is provided "as is" without express or
# implied warranty.
# 
# ENTERPRISE INTEGRATION TECHNOLOGIES, HEWLETT-PACKARD COMPANY AND NIELS MAYER
# DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL ENTERPRISE
# INTEGRATION TECHNOLOGIES, HEWLETT-PACKARD COMPANY OR NIELS MAYER BE LIABLE
# FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER
# RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF
# CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
# CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
###############################################################################
-->

<HTML>
<HEAD>
<TITLE>WINTERP 2.0 Utilities Library</TITLE>
</HEAD>
<BODY>
<H1>WINTERP 2.0 Utilities Library</H1>
<UL>
<LI><A href="../../winterp.html">Back to WINTERP home page</A>
<LI><A href="../INDEX.html">WINTERP 2.0 example programs</A>
</UL>
<DL>
<DT><A HREF=http://www.cybertribe.com/mayer/winterp/scrnsnaps/lib-utils/err-hook.gif">
<IMG SRC=http://www.cybertribe.com/mayer/winterp/scrnsnaps/camera.xbm" ALIGN="bottom" ALT="(screen snap)"></A>
<A href="err-hook.lsp">err-hook.lsp</A>
<DD> Setup *ERRHOOK* for use during WINTERP prototyping or application-test-deliveries. After loading this file, all XLISP language errors occuring during execution while *breakenable* is NIL will pop up a WINTERP dialogue box containing: 
<UL>
<LI> an "ok" button to close the window 
<LI> the error message from XLISP/WINTERP 
<LI> a button to exit application in case of severe error or winterp use by novice user of application. 
<LI> the baktrace: display execution environment of error 
</UL>
NOTE: the code in this file (err-hook.lsp) works only with Motif versions &gt;= 1.2; for older versions of Motif (1.0, 1.1), the file err-hook0.lsp is automatically loaded from this file. 
<DT><A href="err-hook0.lsp">err-hook0.lsp</A>
<DD> Motif 1.1 or Motif 1.0 version of err-hook.lsp. See description in that file for details. 
<DT><A href="get-colors.lsp">get-colors.lsp</A>
<DD> Sets up *X11-COLORS-LIST*, which is used by other applications that need a list of the system colors from /usr/share/X11/rgb.txt .
<DT><A href="hashtable.lsp">hashtable.lsp</A>
<DD> Hash_Table_Class -- initialize a hash table, add entries, or find entries in the hash table. 
<DT><A href="hex-to-dec.lsp">hex-to-dec.lsp</A>
<DD> Function hex-to-dec converts hexadecimal ASCII string to integer. 
<DT><A href="initialize.lsp">initialize.lsp</A>
<DD> INITIALIZE WINTERP AND XLISP DEFAULT ENVIRONMENT. 
<DT><A href="motif-vers.lsp">motif-vers.lsp</A>
<DD> Define *MOTIF-1.0-P*, *MOTIF-1.1-OR-LATER-P*, *MOTIF-1.1.3-OR-LATER-P*, *MOTIF-1.2-OR-LATER-P* 
<DT><A href="nukeinptcb.lsp">nukeinptcb.lsp</A>
<DD> Define function 'REMOVE-ALL-INPUTCBS', which when called, will destroy/remove all currently active input callbacks that have been added via XT_ADD_INPUT. It will print out each destroyed input callback. 
<DT><A href="nuketimout.lsp">nuketimout.lsp</A>
<DD> Define function 'REMOVE-ALL-TIMEOUTS' which when called, will destroy/remove all currently active timeout callbacks that have been added via XT_ADD_TIMEOUT. It will print out each destroyed timeout callback. 
<DT><A href="prov-req.lsp">prov-req.lsp</A>
<DD> WARNING -- WINTERP 2.0 HAS BUILT-IN 'PROVIDE' and 'REQUIRE' SO YOU PROBABLY SHOULD NOT USE THIS FILE FOR NEW PROGRAMS. Pseudo version of common lisp's provide/require functionality Note that this uses the X11r4 routine XT_RESOLVE_PATHNAME XtResolvePathname(), therefore you can only use this w/ Motif &gt;= 1.1. 
<DT><A HREF=http://www.cybertribe.com/mayer/winterp/scrnsnaps/lib-utils/redir-err.gif">
<IMG SRC=http://www.cybertribe.com/mayer/winterp/scrnsnaps/camera.xbm" ALIGN="bottom" ALT="(screen snap)"></A>
<A href="redir-err.lsp">redir-err.lsp</A>
<DD> After loading this file, all output to stderr from WINTERP and it's subprocesses (via exp_popen exp_spawn system popen) gets output to a XmText widget. If popped-down, this window pops up upon new activity on stderr. 
<BR>NOTE: the code in this file (redir-err.lsp) works only with Motif versions &gt;= 1.2; for older versions of Motif (1.0, 1.1), the file redir-err0.lsp is automatically loaded from this file. 
<DT><A href="redir-err0.lsp">redir-err0.lsp</A>
<DD> Motif 1.1 or Motif 1.0 version of redir-err.lsp. See description in that file for details. 
<DT><A HREF=http://www.cybertribe.com/mayer/winterp/scrnsnaps/lib-utils/redir-out.gif">
<IMG SRC=http://www.cybertribe.com/mayer/winterp/scrnsnaps/camera.xbm" ALIGN="bottom" ALT="(screen snap)"></A>
<A href="redir-out.lsp">redir-out.lsp</A>
<DD> After loading this file, all output to stdout from WINTERP and it's subprocesses (via exp_popen exp_spawn system popen) gets output to a XmText widget. If popped-down, this window pops up upon new activity on stdout. 
<DT><A href="redir-out0.lsp">redir-out0.lsp</A>
<DD> Motif 1.1 or Motif 1.0 version of redir-out.lsp. See description in that file for details. 
<DT><A href="show-busy.lsp">show-busy.lsp</A>
<DD> Macro '(WINTERP-SHOW-BUSY-PROGN &lt;progn-code&gt;)' works just like '(PROGN &lt;progn-code&gt;)', however, WINTERP-SHOW-BUSY-PROGN will turn on WINTERP's "busy cursor" during exectution of &lt;progn-code&gt;. 
<DT><A href="unixstuf.lsp">unixstuf.lsp</A>
<DD> Various and Sundry UN*X interfaces. 
<DT><A href="uxproc-cls.lsp">uxproc-cls.lsp</A>
<DD> UNIX-SUBPROCESS-CLASS and methods :SET-PROCESS-FINISHED-CALLPROC, :SET-LINE-OUTPUT-CALLBACK :SET-CHAR-OUTPUT-CALLBACK, :SET-SEXP-OUTPUT-CALLBACK :START-PROCESS, :KILL-PROCESS, :SIGNAL-KILL, :EXISTS_P. 
</DL>
      <hr>
      <address><a href="mailto:mayer@netcom.com">Niels P. Mayer</a></address>
<!-- Created: Mon Nov 24 17:12:59 PST 1997 -->
<!-- hhmts start -->
Last modified: Wed Jul  7 00:13:57 PDT 2010
<!-- hhmts end -->
  </body>
</html>
